<script>
window.onload = function(){
var now = new Date();
var h = now.getHours();

if(h>=12){
  document.body.style.background = "black";
}

if(h<12){
  document.body.style.background = "#eeeeee";
}
};
</script>